Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632074 Views

Latest files of /cody/vishal-dcode/Custom Cursor

app.js cody/vishal-dcode/Custom Cursor/app.js
5 Views
0 Comments
const cursorDot = document.querySelector("[data-cursor-dot]"),
cursorOutline = document.querySelector("[data-cursor-outline]");

window.addEventListener("mousemove", function (e) {
const posX = e.clientX;
const posY = e.clientY;

cursorDot.style.left = `${posX}px`;
style.css cody/vishal-dcode/Custom Cursor/style.css
5 Views
0 Comments
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
index.html cody/vishal-dcode/Custom Cursor/index.html
23 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link